public class WhiteIgoChessman extends IgoChessman {
    private static WhiteIgoChessman instance;

    private WhiteIgoChessman() {
        super("White");
    }

    public static WhiteIgoChessman getInstance() {
        if (instance == null) {
            instance = new WhiteIgoChessman();
        }
        return instance;
    }

    @Override
    public void display() {
        System.out.println("显示白色棋子。");
    }
}
